import {bootstrap} from "@angular/platform-browser-dynamic";
import {Component} from "@angular/core";
import {HeadComponent} from "./head.component";
import {FootComponent} from "./foot.component";
import {BodyComponent} from "./body.component";
@Component({
    selector:"my-app",
    template: `
            <my-header>init header...</my-header>
            <br/>
            <my-body>init body...</my-body>
            <br/>
            <my-foot>init footer...</my-foot>
                `,
    directives:[HeadComponent,BodyComponent, FootComponent]
})
export class AppComponent{

}
bootstrap(AppComponent)